package com.zhy.baselibrary.base

import android.app.Application
import android.content.Context
import android.os.Handler
import androidx.multidex.MultiDex


open class BaseApp : Application() {
    companion object {
        var mHandle: Handler? = null
        var mContext: Context? = null
    }

    override fun onCreate() {
        super.onCreate()
        mContext = this
        mHandle = Handler()
    }

    override fun attachBaseContext(base: Context?) {
        super.attachBaseContext(base)
        MultiDex.install(this)
    }

}